package com.ck.common.model;

/**
 * @author LinQiang
 * @version 1.0
 * @Description 节目下载失败原因日志表
 * @date 2019/4/29 14:24
 **/
public class ProgramDownloadFailureLog {
    private Long programDownloadFailureLogId;

    /**
     * 终端唯一序列号
     */
    private String deviceCode;

    /**
     * 节目版本号
     */
    private String programVersion;

    /**
     * 新增时间
     */
    private Long addTime;

    /**
     * 下载失败原因
     */
    private String failureReason;

    public ProgramDownloadFailureLog(Long programDownloadFailureLogId, String deviceCode, String programVersion, Long addTime, String failureReason) {
        this.programDownloadFailureLogId = programDownloadFailureLogId;
        this.deviceCode = deviceCode;
        this.programVersion = programVersion;
        this.addTime = addTime;
        this.failureReason = failureReason;
    }

    public ProgramDownloadFailureLog(String deviceCode, String programVersion, Long addTime, String failureReason) {
        this.deviceCode = deviceCode;
        this.programVersion = programVersion;
        this.addTime = addTime;
        this.failureReason = failureReason;
    }

    public ProgramDownloadFailureLog() {
        super();
    }

    public Long getProgramDownloadFailureLogId() {
        return programDownloadFailureLogId;
    }

    public void setProgramDownloadFailureLogId(Long programDownloadFailureLogId) {
        this.programDownloadFailureLogId = programDownloadFailureLogId;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getProgramVersion() {
        return programVersion;
    }

    public void setProgramVersion(String programVersion) {
        this.programVersion = programVersion;
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public String getFailureReason() {
        return failureReason;
    }

    public void setFailureReason(String failureReason) {
        this.failureReason = failureReason;
    }
}